﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="frmUsuario.aspx.cs" Inherits="SISLOG.Web.frmUsuario" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Label ID="Label1" runat="server" Text="Buscar:"></asp:Label>
&nbsp;<asp:TextBox ID="txtBuscarUsu" runat="server"></asp:TextBox>
&nbsp;<asp:Button ID="btnBuscarUsu" runat="server" Text="Buscar" />
    <br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataSourceID="ObjectDataSourceUsuario">
        <Columns>
            <asp:BoundField DataField="dni" HeaderText="dni" SortExpression="dni" />
            <asp:BoundField DataField="nombres" HeaderText="nombres" 
                SortExpression="nombres" />
            <asp:BoundField DataField="apellidoPaterno" HeaderText="apellidoPaterno" 
                SortExpression="apellidoPaterno" />
            <asp:BoundField DataField="apellidoMaterno" HeaderText="apellidoMaterno" 
                SortExpression="apellidoMaterno" />
            <asp:BoundField DataField="idArea" HeaderText="idArea" 
                SortExpression="idArea" />
            <asp:BoundField DataField="contraseña" HeaderText="contraseña" 
                SortExpression="contraseña" />
        </Columns>
    </asp:GridView>
    <asp:ObjectDataSource ID="ObjectDataSourceUsuario" runat="server" 
        onobjectcreating="ObjectDataSourceUsuario_ObjectCreating1" 
        SelectMethod="GetAllFromUsuario" TypeName="SISLOG.BusinessLogic.UsuarioBL">
    </asp:ObjectDataSource>
</asp:Content>
